Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass independent context to DeleteClusterMember #638

Merged

Conversation

HomayoonAlimohammadi
Copy link
Contributor

Node removal process in CAPI might fail, we figured that the context passed toDeleteClusterMember is somehow getting canceled but couldn't figure out why or by which component. The cancellation happens after the RunPreRemoveHook call and before the DeleteCoreClusterMember call in clusterMemberDelete endpoint of microcluster. This is a workaround to avoid the cancellation. keep in mind that this failure is flaky and might not happen in every run.

@HomayoonAlimohammadi HomayoonAlimohammadi marked this pull request as ready for review August 30, 2024 08:36
@HomayoonAlimohammadi HomayoonAlimohammadi requested a review from a team as a code owner August 30, 2024 08:36
Copy link
Contributor

@bschimke95 bschimke95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for all the investigation work on this issue!

@HomayoonAlimohammadi HomayoonAlimohammadi merged commit ec5bc4a into main Aug 30, 2024
19 checks passed
@HomayoonAlimohammadi HomayoonAlimohammadi deleted the KU-1184/fix-delete-member-context-cancellation branch August 30, 2024 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants